home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / !Interfaces / Universal Interfaces 2.0a1 / PInterfaces / ROMDefs.p < prev    next >
Encoding:
Text File  |  1994-07-17  |  4.2 KB  |  119 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        ROMDefs.p
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a1.  ETO #15, MPW prerelease.  Sunday, July 17, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. }
  16.  
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT ROMDefs;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __ROMDEFS__}
  27. {$SETC __ROMDEFS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC ROMDefsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33.  
  34. {$PUSH}
  35. {$ALIGN MAC68K}
  36. {$LibExport+}
  37.  
  38. CONST
  39.     appleFormat                    = 1;                            {Format of Declaration Data (IEEE will assign real value)}
  40.     romRevision                    = 1;                            {Revision of Declaration Data Format}
  41.     testPattern                    = 1519594439;                    {FHeader long word test pattern}
  42.     sCodeRev                    = 2;                            {Revision of code (For sExec)}
  43.     sCPU68000                    = 1;                            {CPU type = 68000}
  44.     sCPU68020                    = 2;                            {CPU type = 68020}
  45.     sCPU68030                    = 3;                            {CPU type = 68030}
  46.     sCPU68040                    = 4;                            {CPU type = 68040}
  47.     sMacOS68000                    = 1;                            {Mac OS, CPU type = 68000}
  48.     sMacOS68020                    = 2;                            {Mac OS, CPU type = 68020}
  49.     sMacOS68030                    = 3;                            {Mac OS, CPU type = 68030}
  50.     sMacOS68040                    = 4;                            {Mac OS, CPU type = 68040}
  51.     board                        = 0;                            {Board sResource - Required on all boards}
  52.     displayVideoAppleTFB        = 16843009;                        {Video with Apple parameters for TFB card.}
  53.     displayVideoAppleGM            = 16843010;                        {Video with Apple parameters for GM card.}
  54.     networkEtherNetApple3Com    = 33620225;                        {Ethernet with apple parameters for 3-Comm card.}
  55.     testSimpleAppleAny            = -2147417856;                    {A simple test sResource.}
  56.     endOfList                    = 255;                            {End of list}
  57.     defaultTO                    = 100;                            {100 retries.}
  58.     sRsrcType                    = 1;                            {Type of sResource}
  59.  
  60.     sRsrcName                    = 2;                            {Name of sResource}
  61.     sRsrcIcon                    = 3;                            {Icon}
  62.     sRsrcDrvrDir                = 4;                            {Driver directory}
  63.     sRsrcLoadDir                = 5;                            {Load directory}
  64.     sRsrcBootRec                = 6;                            {sBoot record}
  65.     sRsrcFlags                    = 7;                            {sResource Flags}
  66.     sRsrcHWDevId                = 8;                            {Hardware Device Id}
  67.     minorBaseOS                    = 10;                            {Offset to base of sResource in minor space.}
  68.     minorLength                    = 11;                            {Length of sResource’s address space in standard slot space.}
  69.     majorBaseOS                    = 12;                            {Offset to base of sResource in Major space.}
  70.     majorLength                    = 13;                            {Length of sResource in super slot space.}
  71.     sRsrccicn                    = 15;                            {Color icon}
  72.     sRsrcicl8                    = 16;                            {8-bit (indexed) icon}
  73.     sRsrcicl4                    = 17;                            {4-bit (indexed) icon}
  74.     sGammaDir                    = 64;                            {sGamma directory}
  75.     sDRVRDir                    = 16;                            {sDriver directory}
  76.     drSwApple                    = 1;                            {To ask for or define an Apple-compatible SW device.}
  77.     drHwTFB                        = 1;                            {HW ID for the TFB (original Mac II) video card.}
  78.     drHw3Com                    = 1;                            {HW ID for the Apple EtherTalk card.}
  79.     drHwBSC                        = 3;
  80.  
  81.     catBoard                    = 1;                            {Category for board types.}
  82.     catTest                        = 2;                            {Category for test types -- not used much.}
  83.     catDisplay                    = 3;                            {Category for display (video) cards.}
  84.     catNetwork                    = 4;                            {Category for Networking cards.}
  85.     boardId                        = 32;                            {Board Id}
  86.     pRAMInitData                = 33;                            {sPRAM init data}
  87.     primaryInit                    = 34;                            {Primary init record}
  88.     timeOutConst                = 35;                            {Time out constant}
  89.     vendorInfo                    = 36;                            {Vendor information List. See Vendor List, below}
  90.     boardFlags                    = 37;                            {Board Flags}
  91.     secondaryInit                = 38;                            {Secondary init record/code}
  92.     sRsrcVidNames                = 65;                            {Video mode name directory}
  93.     vendorId                    = 1;                            {Vendor Id}
  94.     serialNum                    = 2;                            {Serial number}
  95.     revLevel                    = 3;                            {Revision level}
  96.     partNum                        = 4;                            {Part number}
  97.     date                        = 5;                            {Last revision date of the card}
  98.     typeBoard                    = 0;                            {Type for board types.}
  99.     typeApple                    = 1;
  100.     typeVideo                    = 1;                            {Type for video types.}
  101.  
  102.     typeEtherNet                = 1;                            {Type for ethernet types.}
  103.     testByte                    = 32;                            {Test byte.}
  104.     testWord                    = 33;                            {0021}
  105.     testLong                    = 34;                            {Test Long.}
  106.     testString                    = 35;                            {Test String.}
  107.  
  108.  
  109. {$ALIGN RESET}
  110. {$POP}
  111.  
  112. {$SETC UsingIncludes := ROMDefsIncludes}
  113.  
  114. {$ENDC} {__ROMDEFS__}
  115.  
  116. {$IFC NOT UsingIncludes}
  117.  END.
  118. {$ENDC}
  119.